﻿<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Default" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="bin\Debug\CustomTasks.tasks"/>
  <PropertyGroup >
    <MSTestLocation>C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE</MSTestLocation>
    <MSTest>$(MSTestLocation)\mstest.exe</MSTest>
  </PropertyGroup>

  <Target Name ="Test">
    <Message Text="Executing Unit Tests" />
    <RunAllTestsInSolution
              MSTest ="$(MSTest)"
              SolutionFile="AcceptanceTesting\TestData\Crap4Net.sln"
              Parmaters ="/resultsfile:TestResults.trx"
              Configuration="Debug"
              />
  </Target>
  <Target Name="Default">
    <AssemblyInfo 
                  AssemblyInfoFiles="@(AssemblyInfoFiles)"
                  AssemblyFileMajorVersion="$(Major)"
                  AssemblyFileMinorVersion="$(Minor)"
                  AssemblyFileBuildNumber="$(Build)"
                  AssemblyFileRevision="$(Revision)"
                  />
    
  </Target>
</Project>
